"""
@author: Zhang Wenzhou
@file: __init__.py
@time: 2023/3/2 0002 10:32:11
"""

from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()   #创建orm模型实例

# from .user import StuInfo
from . import user
from model.userdb.userinfo import User
from model.news_data.news_data import Data

def init_db_app(app):
    db.init_app(app)